package com.newhero.product.module.sys.service;

import java.util.List;
import java.util.Map;
import java.util.Set;

import com.newhero.product.common.service.IBaseService;
import com.newhero.product.module.sys.model.App;

public interface IAppService extends IBaseService<App>{

	public List<Map<String, Object>> getTopMenuListWithAuth(String userID);

	/**
	 * 通过上级菜单列表取得下级菜单列表
	 * @param userID 
	 * @param topMenuList
	 * @return
	 */
	public List<Map<String, Object>> getNextLevelMenuListWithAuth(String userID, List<Map<String, Object>> topMenuList);
	
	public List<Map<String, Object>> getNextLevelMenuListWithAuth(String userID, int appType, List<Map<String, Object>> topMenuList);
	
	/**
	 * 通过应用ID和用户ID获取下级菜单列表
	 * @param userID
	 * @param appID
	 * @return
	 */
	public List<Map<String, Object>> getNextLevelMenuListWithAuth(String userID, String appID);
	
	public List<String> getIDListByAppID(String appID);
	
	/**
	 * 根据用户ID获取应用链接集合
	 * @param userID
	 * @return
	 */
	public Set<String> selectAppUrlSetByUserID(String userID);
	
	

}
